package hotel.meituan.oversea.biz.service;

import hotel.base.oversea.utils.Result;
import hotel.base.oversea.vo.meituan.MtHotelOrderJobDealVo;
import hotel.base.oversea.vo.meituan.response.order.MtHotelOrderCheckVo;
import hotel.meituan.oversea.api.entity.MtHotelOrderBooking;
import hotel.meituan.oversea.api.entity.MtHotelOrderStateHistory;
import org.springframework.stereotype.Service;

/**
 * 美团酒店定时器拆单订单处理
 */
@Service
public interface MtHotelOrderDealSplitService {
    Result bookingPaySplitOrder(Boolean splitIsManmadeToBooking, MtHotelOrderJobDealVo mtHotelOrderJobDealVo, MtHotelOrderCheckVo mtHotelOrderCheckVo, String gsonString, String swOrderId, String mtHotelId, Integer goodsId, String swPoolId, String checkinDate, String checkoutDate);

    Result checkIsSplitChildOrder(MtHotelOrderBooking selectMtOrder, Integer orderStatus, String source, MtHotelOrderStateHistory stateHistory);

    Result checkIsMasterOrderApplyCancel(MtHotelOrderBooking selectValiSwOrderidMtOrder);

    Result cancelOtherChildSplitOrder(String master_mtDisOrderId_index, String remark, String userApplyCancel);
}
